package com.j2ee.struts.action;

import java.util.Collection;
import java.util.Date;

import com.j2ee.model.Employee;
import com.opensymphony.xwork2.ActionSupport;

public class UserAction extends ActionSupport{
	
	private Integer id ;
	private String username ;
	private Date createTime ;
	private Collection<Employee> emps ;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Collection<Employee> getEmps() {
		return emps;
	}
	public void setEmps(Collection<Employee> emps) {
		this.emps = emps;
	}
	
	public String show() {
		System.out.println(id);
		System.out.println(username);
		System.out.println(createTime);
		System.out.println(emps);
		return SUCCESS ;
	}
}
